package com.qili.mapper.zx;

import com.qili.base.mapper.BaseMapper;
import com.qili.entity.supervisor.dto.SupervisorProjectMilepostDTO;
import com.qili.entity.zx.ZxProjectMilepost;
import com.qili.entity.zx.ZxProjectStage;
import com.qili.entity.zx.dto.ZxProjectMilepostDTO;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2020/11/3  项目 里程碑
 * @description
 */
public interface ZxProjectMilepostMapper extends BaseMapper<ZxProjectMilepost,String> {

    List<ZxProjectMilepostDTO> selectProjectmilepost(ZxProjectMilepostDTO dto);
    /**
     * @Author:Zhangshuo
     * @Description:根据项目ID删除
     * @param ids
     * @Date:20:33 2020-12-11
     */
    int deleteByProjectIds(String[] ids);

    String getFinishedMilepostProgress(ZxProjectStage stage);

        String getFinishedMilepostProgressWith(ZxProjectMilepost milepost);

    List<ZxProjectMilepostDTO> selectMilePostOrder(ZxProjectMilepostDTO dto);

}
